#pragma once
#include "Directx.h"
#include "Define.h"
#include "Global.h"
#include "BackGround.h"

class Game
{
public:
	Game();
	Game(HINSTANCE _hInstance, UINT _nCmdShow);
	~Game();

	HINSTANCE			_hInstance;
	UINT				nCmdShow;
	LPDIRECT3DDEVICE9	_d3ddv;
	int					frameRate;
public:
	void Init();
	bool Run();
	void Update();
	void Render();
	void ProcessKeyboard();
	void ProcessInput();

private:
	void OnKeyDown(int keyCode);
	void OnKeyUp(int keyCode);
};